package org.jeecg.modules.shop.service.impl;
import org.jeecg.modules.shop.entity.RsShopImage;
import org.jeecg.modules.shop.mapper.RsShopImageMapper;
import org.jeecg.modules.shop.service.IRsShopImageService;
import org.springframework.stereotype.Service;
import java.util.List;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

/**
 * @Description: 商品图片
 * @Author: jeecg-boot
 * @Date:   2020-08-07
 * @Version: V1.0
 */
@Service
public class RsShopImageServiceImpl extends ServiceImpl<RsShopImageMapper, RsShopImage> implements IRsShopImageService {
	
	@Resource
	private RsShopImageMapper rsShopImageMapper;
	
	@Override
	public List<RsShopImage> selectByMainId(String mainId) {
		return rsShopImageMapper.selectByMainId(mainId);
	}
}
